/* 搜索结果容器 */
.results-container {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* 搜索结果头部 */
.results-header {
    margin-bottom: 2rem;
}

.results-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1rem;
}

.results-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.results-count {
    color: var(--gray);
}

/* 搜索结果网格布局 */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

/* 搜索结果卡片 */
.result-card {
    composes: card; /* 继承公共卡片样式 */
}

.result-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.result-info {
    padding: 1.5rem;
}

.result-type {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--accent);
    color: var(--darker);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.result-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.result-meta {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.result-rating {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.stars {
    color: var(--warning);
    margin-right: 0.5rem;
}

.rating-value {
    font-weight: 600;
}

.result-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.result-actions {
    display: flex;
    justify-content: space-between;
}

/* 无结果提示 */
.no-results {
    text-align: center;
    padding: 3rem;
    color: var(--gray);
    font-size: 1.2rem;
    grid-column: 1 / -1;
}